import request from '@/axios/index'

const baseurl = '/code_template'

export function fetchList() {
  return request({
    url: baseurl + '/list',
    method: 'get',
  })
}

export function modify(data) {
  return request({
    url: baseurl,
    method: 'post',
    data,
  })
}
